<template>
	<view class="">
		<view class="bg-white radius-lg" style="min-height: 100vh;">
			<view class="bg-white">
				<cu-custom bgColor="bg-gradual-write" :isBack="true">
					<block slot="backText"></block>
					<block slot="content">碧华自助自习室</block>
				</cu-custom>
			</view>
			<view class="bg-white" style="min-height: 10vh;"></view>
			<view class="padding-top-lg padding-lr">
				<!-- 标题 -->
				<view class="text-xxl text-black">欢迎光顾</view>
				<view class="text-xxl text-black text-bold padding-top-lg">碧华自助自习室！</view>
			</view>
			<view class="bg-white" style="min-height: 10vh;"></view>
			<view class="padding-bottom-xxl padding-top padding-lr">
				<view class="flex justify-center margin-sm">
					<button v-if="appMp || appMINI" class="cu-btn xxl bg-gradual-orange round"
						style="width: 80%; height: 90rpx;line-height: 90rpx;" @tap="toWeChatLogin()">一键快速登录/注册</button>
				</view>
				<view class="flex justify-center margin-sm">
					<button v-if="appMp || appMINI" class="cu-btn xxl bg-grey round"
						style="width: 80%; height: 90rpx;line-height: 90rpx;" open-type="getPhoneNumber"
						@getphonenumber="getPhoneNumber">手机号登录</button>
				</view>
			</view>
			<view class="bg-white" style="min-height: 20vh;"></view>
			<view class="flex justify-center margin-sm"><text>————— 其他登录 —————</text></view>
			<view class="flex justify-center margin-sm">
				<view class="padding-lr" @tap="goPage('/pages/login/login')">
					<u-icon name="/static/images/login/smslogin.png" size="30"></u-icon>
				</view>
				<view class="padding-lr" @tap="passwordLogin()">
					<u-icon name="/static/images/login/passwordlogin.png" size="30"></u-icon>
				</view>
			</view>
		</view>
	</view>
</template>
<script src="./index.js">
</script>
<style scoped lang="scss">
</style>